package org.qingke.mail.sso.service;

import org.qingke.mail.common.Response;
import org.qingke.mail.common.SSORequest;

/**
 * 单点登录接口
 * @author Administrator
 *
 */
public interface SSOService {
    
	/*
	 * 验证类
	 * 
	 */
	Response check(String propertyName,String propertyValue);
	
	/**
	 * 用户注册
	 * @param userRequest
	 * @return
	 */
	Response register(SSORequest userRequest);
	
	/**
	 * 用户登录
	 * @param userRequest
	 * @return
	 */
	Response Login(SSORequest userRequest);
     /**
      * 权限认证
      * @param userRequest
      * @return
      */
	Response authenication(SSORequest userRequest);
	
}
